package com.usian.service.impl;

import com.usian.pojo.User;
import com.usian.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Override
    public User fingById(Integer userId) {
        return new User(userId,"张三provider1-----restFul",12);
    }

    @Override
    public User findId(Integer userId) {
        return new User(userId,"张三问好传参",12);
    }

    @Override
    public User insert(User user) {
        return user;
    }
}
